package com.xydtech.ecard.user.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;


@ApiModel(value = "电子名片-用户信息对象")
public class EcardApiUserInfo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "微信用户注册ID")
    private String registId;

    @ApiModelProperty(notes = "用户名称")
    private String wechatName;

    @ApiModelProperty(notes = "员工名称")
    private String userName;

    @ApiModelProperty(notes = "用户角色：1-普通客户；2-客户经理")
    private String userRole;

    @ApiModelProperty(notes = "机构名称")
    private String deptName;

    @ApiModelProperty(notes = "手机号")
    private String phoneno;

    @ApiModelProperty(notes = "头像")
    private String headUrl;

    @ApiModelProperty(notes = "岗位名称")
    private String postName;

    @ApiModelProperty(notes = "名片访问量")
    private String accessCount;

    @ApiModelProperty(notes = "客户经理的经纬度")
    private String coordinate;

    @ApiModelProperty(notes = "地址")
    private String address;
    @ApiModelProperty(notes = "机构id")
    private Long deptId;
    @ApiModelProperty(notes = "微信二维码路径")
    private String wechatQrcode;

    @ApiModelProperty(notes = "员工编号")
    private String userCode;

    @ApiModelProperty(notes = "用户ID")
    private Long userId;

    /**
     * 客户经理管户区域
     */
    @ApiModelProperty(notes = "客户经理管户区域")
    private List<String> gridNameList;

    @ApiModelProperty(notes = "员工性别")
    private String sex;
    @ApiModelProperty(notes = "员工岗位ID")
    private Long postId;
    @ApiModelProperty(notes = "扩展岗位编号")
    private String extendPostCode;
    public String getRegistId() {
        return registId;
    }

    public void setRegistId(String registId) {
        this.registId = registId;
    }

    public String getWechatName() {
        return wechatName;
    }

    public void setWechatName(String wechatName) {
        this.wechatName = wechatName;
    }

    public String getUserRole() {
        return userRole;
    }

    public void setUserRole(String userRole) {
        this.userRole = userRole;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getPhoneno() {
        return phoneno;
    }

    public void setPhoneno(String phoneno) {
        this.phoneno = phoneno;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getAccessCount() {
        return accessCount;
    }

    public void setAccessCount(String accessCount) {
        this.accessCount = accessCount;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getWechatQrcode() {
        return wechatQrcode;
    }

    public void setWechatQrcode(String wechatQrcode) {
        this.wechatQrcode = wechatQrcode;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public List<String> getGridNameList() {
        return gridNameList;
    }

    public void setGridNameList(List<String> gridNameList) {
        this.gridNameList = gridNameList;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public String getExtendPostCode() {
        return extendPostCode;
    }

    public void setExtendPostCode(String extendPostCode) {
        this.extendPostCode = extendPostCode;
    }

    @Override
    public String toString() {
        return "EcardUserInfo{" +
                "registId='" + registId + '\'' +
                "wechatName='" + wechatName + '\'' +
                "userName='" + userName + '\'' +
                "userRole='" + userRole + '\'' +
                ", deptName='" + deptName + '\'' +
                ", phoneno='" + phoneno + '\'' +
                ", headUrl='" + headUrl + '\'' +
                ", postName='" + postName + '\'' +
                ", accessCount='" + accessCount + '\'' +
                ", coordinate='" + coordinate + '\'' +
                ", address='" + address + '\'' +
                ", deptId='" + deptId + '\'' +
                ", wechatQrcode='" + wechatQrcode + '\'' +
                ", userCode='" + userCode + '\'' +
                ", userId='" + userId + '\'' +
                ", gridNameList='" + gridNameList + '\'' +
                ", sex='" + sex + '\'' +
                ", postId='" + postId + '\'' +
                ", extendPostCode='" + extendPostCode + '\'' +
                '}';
    }
}
